package com.vv.service;

import com.vv.bean.Product;

import java.util.List;

public interface ProductService {
    //新增
    int addProduct(Product product);
    //获得商品
    List<Product> getProducts();
    //根据pid查询
    Product getProductByPid(Long pid);
}
